getInsetsController

@NonNull
open fun getInsetsController(@NonNull window: @NonNull Window, @NonNull view: @NonNull View): @NonNull WindowInsetsControllerCompat(source)

Retrieves the single WindowInsetsControllerCompat of the window this view is attached to.

Return

The WindowInsetsControllerCompat for the window.

See also